package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author sunyamei
 * @version V1.0
 * @Project springmvc_Demo
 * @Package com.qf.controller
 * @Description:
 * @Date 2022/7/14 14:12
 */
@Controller
public class HelloController {
    @RequestMapping("/sayHello")
    public  String sayHello(){
        System.out.println("hello...");
        int i=10/0;
        return "/success.jsp";
    }
}
